<script setup>
import { isPC } from '@/utils/flexible'
import NavMB from './NavMB.vue'
import NavPC from './NavPC.vue'
//发起网络请求数据
import { useStore } from 'vuex'
const store = useStore()
store.dispatch('category/useCategoryData')
</script>
<template>
  <NavPC v-if="isPC" />
  <NavMB v-else />
</template>
